package io.renren.modules.app.service.impl;


import org.springframework.stereotype.Service;

import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.app.dao.BimUserDao;
import io.renren.modules.app.entity.BimUserEntity;
import io.renren.modules.app.service.BimUserService;


@Service("bimUserService")
public class BimUserServiceImpl extends ServiceImpl<BimUserDao, BimUserEntity> implements BimUserService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<BimUserEntity> page = this.page(
                new Query<BimUserEntity>().getPage(params),
                new QueryWrapper<BimUserEntity>()
        );

        return new PageUtils(page);
    }

}